package com.de.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Image {
    private String id;

    private byte[] imageByte;

    private String base64Image;


    public Image(String id, byte[] imageByte) {
        this.id = id;
        this.imageByte = imageByte;
    }

    public Image(String id, String base64Image) {
        this.id = id;
        this.base64Image = base64Image;
    }
}
